﻿using System;
using System.Collections;
using CSharp.Libs.Koc.Models;

namespace CSharp.Libs.Koc
{
    public class PostHandlerItem
    {
        public PostHandlerItem(
            int InternalUID)
        {
            ID = InternalUID;
            isPosting = false;
            success = false;
            pcCommand = null;
            ResultString = "";
            ResultHashtable = null;
            SubmitCount = 0;
            LastSubmit = DateTime.Now;
        }

        public int ID { get; private set; }
        public bool isPosting { get; set; }
        public bool success { get; set; }
        public PhpCommand pcCommand { get; set; }
        public string ResultString { get; set; }
        public Hashtable ResultHashtable { get; set; }
        public int SubmitCount { get; set; }
        public DateTime LastSubmit { get; set; }
    }
}